import Vue from 'vue'

// import { t } from '@esign-ui/shared/src/locale'

import Element from 'element-ui'
Vue.use(Element)

// Vue.prototype.t = t
if (global.document)
  document.createRange = () => ({
    setStart: () => {},
    setEnd: () => {},
    commonAncestorContainer: {
      nodeName: 'BODY',
      ownerDocument: document,
    },
  })
